package com.entity;

/**
 * @author ：Fmc
 * @date ：Created in 2022/6/9 16:03
 * @description：用户表的实体
 * @modified By：
 * @version: 1.0
 */
public class Userinfo {
    private Integer userid;
    private String username;
    private String password;
    private String salt;
    private String avatar;
    private Integer deptid;

    /*private Integer page;//页码
    private Integer limit;//查询条数
    private Integer start;//开始位置
    private String field;//待排序列名
    private String order;//排序方法*/



    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    @Override
    public String toString() {
        return "Userinfo{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", avatar='" + avatar + '\'' +
                ", deptid=" + deptid +
                ", deptEntity=" + deptEntity +
                '}';
    }

    private DeptEntity deptEntity;

    public DeptEntity getDeptEntity() {
        return deptEntity;
    }

    public void setDeptEntity(DeptEntity deptEntity) {
        this.deptEntity = deptEntity;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }


    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
